﻿using Business.BorrowManagement.Dto;
using Business.SendManagement.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Business.SendManagement
{
    public interface ISendAppService : IApplicationService
    {
        Task<SendDto> Get(Guid id);
        Task<PagedResultDto<SendDto>> GetAll(GetSendInputDto input);
        Task<SendDto> CreateOrUpdate(SendDto input);
        Task Delete(List<Guid> ids);

        Task<PagedResultDto<SendDto>> GetAllNGood(GetSendInputDto input);

        Task<PagedResultDto<SendDto>> GetAllGood(GetSendInputDto input);
    }
}
